home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Geek Games #12
/
GEGA012.iso
/
eroticos
/
spermananalodyssea.swf
/
scripts
/
frame_8
/
PlaceObject2_149_93
/
CLIPACTIONRECORD onClipEvent(enterFrame).as
next >
Wrap
Text File
|
2005-11-04
|
3KB
|
48 lines
onClipEvent(enterFrame){
if(_root.sperman.scrollStart == true)
{
if(flag == false)
{
flag = true;
_root.wallBlock.duplicateMovieClip("wallBlock" + depthCounter,depthCounter);
_root.wallBlock.duplicateMovieClip("wallBlock" + depthCounter + 1,depthCounter + 1);
_root["wallBlock" + depthCounter]._y = _root.blockController._y - _root.blockController._height / 2 - _root.wallBlock._height / 2;
_root["wallBlock" + depthCounter + 1]._y = _root.blockController._y + _root.blockController._height / 2 + _root.wallBlock._height / 2;
_root["wallBlock" + depthCounter + 1]._rotation = 180;
_root.sombra.duplicateMovieClip("sombra" + sombraCounter,sombraCounter);
_root.sombra.duplicateMovieClip("sombra" + sombraCounter + 1,sombraCounter + 1);
_root["sombra" + sombraCounter]._y = _root.blockController._y - _root.blockController._height / 2 - _root.sombra._height / 2 + 10;
_root["sombra" + sombraCounter + 1]._y = _root.blockController._y + _root.blockController._height / 2 + _root.sombra._height / 2 - 10;
_root["sombra" + sombraCounter + 1]._rotation = 180;
_root["sombra" + sombraCounter + 1]._xscale *= -1;
}
if(_root.wallBlock._x - 0.75 * _root.wallBlock._width >= _root["wallBlock" + depthCounter]._x && _root["wallBlock" + depthCounter]._x >= _root.wallBlock._x - 1.25 * _root.wallBlock._width)
{
depthCounter += 2;
if(depthCounter >= 299)
{
depthCounter = 100;
}
_root.wallBlock.duplicateMovieClip("wallBlock" + depthCounter,depthCounter);
_root.wallBlock.duplicateMovieClip("wallBlock" + depthCounter + 1,depthCounter + 1);
_root["wallBlock" + depthCounter]._y = _root.blockController._y - _root.blockController._height / 2 - _root.wallBlock._height / 2;
_root["wallBlock" + depthCounter + 1]._y = _root.blockController._y + _root.blockController._height / 2 + _root.wallBlock._height / 2;
_root["wallBlock" + depthCounter + 1]._rotation = 180;
}
if(_root.sombra._x - 0.75 * _root.sombra._width >= _root["sombra" + sombraCounter]._x && _root["sombra" + sombraCounter]._x >= _root.sombra._x - 1.25 * _root.sombra._width)
{
sombraCounter += 2;
if(sombraCounter >= 29)
{
sombraCounter = 10;
}
_root.sombra.duplicateMovieClip("sombra" + sombraCounter,sombraCounter);
_root.sombra.duplicateMovieClip("sombra" + sombraCounter + 1,sombraCounter + 1);
_root["sombra" + sombraCounter]._y = _root.blockController._y - _root.blockController._height / 2 - _root.sombra._height / 2 + 10;
_root["sombra" + sombraCounter + 1]._y = _root.blockController._y + _root.blockController._height / 2 + _root.sombra._height / 2 - 10;
_root["sombra" + sombraCounter + 1]._rotation = 180;
_root["sombra" + sombraCounter + 1]._xscale *= -1;
}
}
}